﻿using System.Threading.Tasks;

namespace ZyGame
{
    public class TaskCompletionSource : TaskCompletionSource<bool>
    {
        public void Completion() => this.SetResult(true);

        public void TryCompletion() => TrySetResult(true);

    }
}
